//
//  MGNetworkHelper.h
//  CPManage
//
//  Created by lvho on 2017/4/18.
//  Copyright © 2017年 com.jiaoshou.chen. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface MSNetworkHelper : NSObject

//+ (NSDictionary *)headWithCode:(NSString *)code;
//
//+ (NSDictionary *)httpParams:(id)data dataCode:(NSString *)code;

+ (NSString *)toJsonString:(id)obj;

//+ (NSString *)encryptPassword:(NSString *)source;
//
//+ (NSString *)urlEncodedString:(NSString *)urlString;
//
//+ (NSString *)urlDecodedString:(NSString *)urlString;
/**
 *  判断对象是否为空
 *
 *  @param object 传入的实例
 *
 *  @return 返回值,NO表示该对象不为空,YES表示为空
 */
+ (BOOL)isNull:(id)object;
@end
